package com.spinach.game.enums;

import java.io.Serializable;

public enum ClientEventCode implements Serializable {
	CODE_USER_DOES_NOT_EXIST("用户不存在"),

	CODE_ROOM_DOES_NOT_EXIST("房间不存在"),

	CODE_ROOM_FULL("房间满员"),

	CODE_ROOM_PLAYING("房间正在游戏"),

	CODE_ROOM_JOIN("加入房间"),

	CODE_CLIENT_EXIT("玩家退出"),

	CODE_CLIENT_READY("玩家准备"),

	CODE_GAME_STARTING("游戏开始"),

	CODE_GAME_ENDING("游戏结束"),

	CODE_GAME_BID_LANDLORD("抢地主"),

	CODE_GAME_DONT_BID_LANDLORD("不抢"),

	CODE_GAME_POKER_PLAY("出牌"),

	CODE_GAME_POKER_PLAY_PASS("不出"),
	;


	private String msg;

	ClientEventCode(String msg) {
		this.msg = msg;
	}

	public final String getMsg() {
		return msg;
	}

	public final void setMsg(String msg) {
		this.msg = msg;
	}

}
